<?php
namespace soa\orders\v1\filter;

use soa\client;

class real extends client{
    /**
     * @var string
     */
    protected $service_url = 'http://order.core.kuaidihelp.com/';

    /**
     * @var string
     */
    protected $service_name = 'kuaidihelp_order2';

    //添加
    public function insert($indexShopId,$courierId,$brand,$waybill,$waybillStartTime,$orderId,$orderCreateTime,$waybillWeight)
    {
        return $this->post('v1/filter/real/insert', compact('indexShopId','courierId','brand','waybill','waybillStartTime','orderId','orderCreateTime','waybillWeight'));
    }

    //根据快递员id查询
    public function getByCourierId($courierId,$extraInfo = [],$limit = [],$orderBy = "id DESC")
    {
        return $this->post('v1/filter/real/getByCourierId', compact('courierId','extraInfo','limit','orderBy'));
    }
}